package edu.usm.roberge.client;

import java.util.ArrayList;
import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

import edu.usm.roberge.server.HtmlChangedException;
import edu.usm.roberge.shared.UsgaGolfCourse;
import edu.usm.roberge.shared.WeatherForecast;


/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface GolfCourseServiceAsync {
	void getGolfCourses(String city, String state, AsyncCallback<ArrayList<UsgaGolfCourse>> callback) throws HtmlChangedException;
	
	void getAirplinePrices(String city, String state, AsyncCallback<List<String>> callback) throws HtmlChangedException;
	
	void getWeatherForecast(String city, String state, AsyncCallback<List<WeatherForecast>> callback);
}
